package com.itheima.idea;

import java.util.Scanner;

public class Demo2Array {
    public static void main(String[] args) {
        int[] arrInput = new int[5];
        Scanner sc = new Scanner(System.in);
        for (int i = 0; i < 5; i++) {
            System.out.println("请输入第" +(i+i)+"个数");
            arrInput[i] = sc.nextInt();
        }
        for (int i = 0; i < 5; i++) {
            System.out.println(arrInput[i]);

        }
    }
}
